package com.huayun.plugin.common;

public class TraceId {

    private TraceId() {}

    private static final ThreadLocal<String> local = new ThreadLocal<>();

    public static void set(String id) {
        local.remove();
        local.set(id);
    }

    public static String get() {
        return local.get();
    }
}
